﻿﻿using System;
using System.Collections.Generic;
using System.Text;
namespace WebApplication1.DDD.Models.Entity.ConnectionString_SQLSERVER
{
    public class Sys_Dict:NFinal.Struct
    {
		public System.Int32? ID {get;set;}
		public System.Int32? GroupSn {get;set;}
		public System.String Name {get;set;}
		public System.String Value {get;set;}
		public System.String Memo {get;set;}
		public System.Int32? Flag {get;set;}
		public System.Int32? oderNum {get;set;}
		public System.String Pinyin {get;set;}
		#region 写Json字符串
		public override void WriteJson(System.IO.TextWriter tw)
		{
			tw.Write("{");
					tw.Write("\"ID\":");
					tw.Write(ID==null?"null" : ID.ToString());
					tw.Write(",");
					tw.Write("\"GroupSn\":");
					tw.Write(GroupSn==null?"null" : GroupSn.ToString());
					tw.Write(",");
					tw.Write("\"Name\":");
					tw.Write("\"");
					tw.Write(Name==null?"null":Name);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"Value\":");
					tw.Write("\"");
					tw.Write(Value==null?"null":Value);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"Memo\":");
					tw.Write("\"");
					tw.Write(Memo==null?"null":Memo);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"Flag\":");
					tw.Write(Flag==null?"null" : Flag.ToString());
					tw.Write(",");
					tw.Write("\"oderNum\":");
					tw.Write(oderNum==null?"null" : oderNum.ToString());
					tw.Write(",");
					tw.Write("\"Pinyin\":");
					tw.Write("\"");
					tw.Write(Pinyin==null?"null":Pinyin);
					tw.Write("\"");
			tw.Write("}");
		}
		#endregion
    }
}
